package com.zjj.lbw.microservice.rpc.feign.feignconsumer;

import com.zjj.lbw.config.FeignConfig;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.Import;

@SpringBootApplication
//扫描和注册feign客户端的beanDefinition
@EnableFeignClients("com.zjj.lbw")
@Import(FeignConfig.class)
public class FeignConsumerApplication {

    public static void main(String[] args) {
        SpringApplication.run(FeignConsumerApplication.class, args);
    }

}
